package org.bookr.engine.model;

/**
 * @author Pawel Tomaszewski
 */
public class Comment extends AbstractBookrEntity {
    protected Reader reader;
    protected Book book;
    protected String title, content;

    public Reader getReader() {
        return reader;
    }

    public void setReader(Reader reader) {
        this.reader = reader;
//        reader.addComment(this);
    }

    public Book getBook() {
        return book;
    }

    public void setBook(Book book) {
        this.book = book;
//        book.addComment(this);
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
